package zxj.baidu.map.domain;

import java.io.Serializable;

/**
 * 百度地图城市名称-城市代码关系对照实体类
 * 
 * @author zhuxuejiang
 *
 */
public class BaiduMapCityCode implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 城市代码（主键） */
	private Short areaId;

	/** 城市名称 */
	private String name;

	public Short getAreaId() {
		return areaId;
	}

	public void setAreaId(Short areaId) {
		this.areaId = areaId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	@Override
	public String toString() {
		return "BaiduMapCityCode [areaId=" + areaId + ", name=" + name + "]";
	}

}